home *** CD-ROM | disk | FTP | other *** search
- bat * Multiple command execution utility
- bat if %1 = ? skip 1
- bat if .%1 <> . goto -valid
- bat cls begtype
- <<<<< Multiple command utility >>>>>
-
- Executes a command against multiple
- files with a single line command.
-
- Usage:
- MULTI <cmd> <file1> <file2>..<file n>
-
- end
- bat exit
- bat -valid if %2. = . exit
- %1 %2
- bat if %3. = . exit
- %1 %3
- bat if %4. = . exit
- %1 %4
- bat if %5. = . exit
- %1 %5
- bat if %6. = . exit
- %1 %6
- bat if %7. = . exit
- %1 %7
- bat if %8. = . exit
- %1 %8
- bat if %9. = . exit
- %1 %9
-